Routines (alphabetical) > Routines: H > HDF5 Routines > H5S_SELECT_ELEMENTS

H5S_SELECT_ELEMENTS

The H5S_SELECT_ELEMENTS procedure selects array elements to be included in the selection for a dataspace.

Syntax

H5S_SELECT_ELEMENTS, Dataspace_id, Coordinates [, /RESET]

Arguments

Dataspace_id

An integer representing the dataspace’s identifier on which to set the selection.

Coordinates

An m-element vector, or an (m x n) array, where m is the number of dimensions (or rank) of the dataspace, and n is the number of selected points. Each row contains the coordinates for an element selection point.

Keywords

RESET

Set this keyword to replace the existing selection with the new Coordinates. The default is RESET = 0 which adds the new selection to the existing selection.

Note: The RESET keyword must be set (/RESET or RESET = 1) or the H5S_SELECT_ELEMENTS routine will result in an error message. This error message comes from the HDF5 library, which forces a default of RESET = 0 but insists on this keyword being set for this routine to work.

Version History

5.6

Introduced

See Also

H5S_GET_SELECT_ELEM_NPOINTS , H5S_GET_SELECT_ELEM_POINTLIST, H5S_GET_SELECT_NPOINTS , H5S_SELECT_HYPERSLAB